#pragma once

#ifndef INC_02_SELECTION_SORT_USING_TEMPLATE_STUDENT_H
#define INC_02_SELECTION_SORT_USING_TEMPLATE_STUDENT_H

#include <iostream>
#include <string>
#include <ctime>

using namespace std;


struct Student {
    string name;
    int score;

    bool operator<(const Student& s) {
        return score < s.score;
    }

    friend ostream& operator<<(ostream &os, const Student &student) {
        os << "Student: " << student.name << " " << student.score << endl;
        return os;
    }

};
#endif